package com.community.admin.modules.vo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

@Data
public class MyPageVo<T> extends Page<T> {
    private long page;
    private long limit;
    private long current;
    private long size;

    public void setPage(Long page) {
        this.page = page;
        this.current=page;
    }

    public void setLimit(long limit) {
        this.limit = limit;
        this.size=limit;
    }

    public void setCurrent(Long current) {
        this.current = current;
        this.page = current;
    }

    public void setSize(Long size) {
        this.size = size;
        this.limit = size;

    }

}
